<template>
    <el-config-provider :locale="zhCn">
        <div>
            <NuxtLayout>
                <NuxtPage></NuxtPage>
            </NuxtLayout>
        </div>
    </el-config-provider>
    
</template>

<script setup>
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const nuxtApp = useNuxtApp()

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    nuxtApp.vueApp.component(key, component)
}

</script>
<style>
body {
    background-color: #fcfcfd;
    padding: 0;
    margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    padding: 0;
}
</style>